package com.flash.BusinessParameters.service;

import com.flash.BusinessParameters.entity.ExchangeRate;
import org.apache.ibatis.annotations.Insert;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public interface ExchangeRateService {

    List<ExchangeRate> selectExchangeRate();
    List<ExchangeRate> selectExchangeRateMap(int exchangeName, int page, int limit);

    int selectCountExchangeRate();

    int insertExchangeRate(ExchangeRate exchangeRate);

    int deleteExchangeRate(int exchangeName);

    int updateExchangeRate(ExchangeRate exchangeRate);
    List<ExchangeRate> selectExchangeRateMap2(int exchangeType);
}
